﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Net.Application
{
    
    public interface ITokenGenerator
    {
        /// <summary>
        /// 生成用户登录令牌的方法
        /// </summary>
        /// <param name="user">用户登录信息</param>
        /// <returns>生成的令牌字符串</returns>
        string GenerateToken(Domain.UserLogin.User user);
    }
}
